home *** CD-ROM | disk | FTP | other *** search
/ C & C++ Multimedia Cyber Classroom / C and C++ Multimedia Cyber Classroom (Prentice Hall) (1998).iso / src / fig07_04.jar / Ch07 / Fig07_04 / Emply1.h < prev    next >
C/C++ Source or Header  |  1997-10-20  |  465b  |  23 lines

  1. // Fig. 7.4: emply1.h
  2. // Declaration of the Employee class.
  3. // Member functions defined in emply1.cpp
  4. #ifndef EMPLY1_H
  5. #define EMPLY1_H
  6.  
  7. #include "date1.h"
  8.  
  9. class Employee {
  10. public:
  11.    Employee( char *, char *, int, int, int, int, int, int );
  12.    void print() const;
  13.    ~Employee();  // provided to confirm destruction order
  14. private:
  15.    char firstName[ 25 ];
  16.    char lastName[ 25 ];
  17.    const Date birthDate;
  18.    const Date hireDate;
  19. };
  20.  
  21. #endif
  22.  
  23.